package com.ftrend.printdemo.mhttemplate;

public class Style {


    public enum Align {
        LEFT, RIGHT, CENTER;
    }

    private final Align align;

    private float fontSize = 0F;
    private int lineSpacing = -1;

    public Style(Align align) {
        this.align = align;
    }

    public Style(Align align, int lineSpacing) {
        this.align = align;
        this.lineSpacing = lineSpacing;
    }

    public Style(Align align, float fontSize, int lineSpacing) {
        this.align = align;
        this.fontSize = fontSize;
        this.lineSpacing = lineSpacing;
    }

    public Align getAlign() {
        return align;
    }

    public float getFontSize() {
        return fontSize;
    }

    public int getLineSpacing() {
        return lineSpacing;
    }
}
